﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:AutoCorrelatorGUI.View"
             xmlns:Properties="clr-namespace:AutoCorrelatorGUI.Properties" x:Class="AutoCorrelatorGUI.View.InputFileView"
             mc:Ignorable="d" 
             DataContext="{Binding InputFile, Source={StaticResource Locator}}"
             d:DesignHeight="91.304" d:DesignWidth="416.304" Background="White">
    <Grid>

        <TextBox Height="23" Margin="10,34,90,0" TextWrapping="Wrap" VerticalAlignment="Top" Text="{Binding InputFile}" ToolTip="{x:Static Properties:Resources.TT_File_InputFile}"/>
        <Button Content="Browse..." Margin="0,34,10,0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="75" Command="{Binding OpenFileDialogCommand, Mode=OneWay}" ToolTip="{x:Static Properties:Resources.TT_Menu_OpenFile}" Height="23"/>
        <Button Content="Process Input File" Command="{Binding LoadInputFileCommand, Mode=OneWay}" HorizontalAlignment="Left" Margin="10,63,0,5" VerticalAlignment="Top" Width="140" ToolTip="{x:Static Properties:Resources.TT_Menu_ProcessInput}"/>
        <TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="Input File:" VerticalAlignment="Top" ToolTip="{x:Static Properties:Resources.TT_File_InputFile}"/>
        <CheckBox Content="Perform AutoCorrelation" HorizontalAlignment="Left" Margin="176,65,0,0" VerticalAlignment="Top" Padding="4,0,0,0" IsChecked="{Binding PerformAutoCorrelation}" ToolTip="{x:Static Properties:Resources.TT_File_PerformAutoCorrelation}"/>

    </Grid>
</UserControl>
